package com.syzg.base.merge.model;

import java.io.Serializable;


public class StaffPosition implements Serializable{

	private static final long serialVersionUID = 1L;
	private StaffPositionId id;
	private Position position;
    private Integer orderNo;
	private Staff staff;
	private Organization organization;
	
	public StaffPosition(){
        orderNo = new Integer(1);
    }

    public StaffPosition(StaffPositionId id, Integer orderNo, Position position, Staff staff, Organization organization){
        this.orderNo = new Integer(1);
        this.id = id;
        this.orderNo = orderNo;
        this.position = position;
        this.staff = staff;
        this.organization = organization;
    }

    public StaffPositionId getId(){
        return id;
    }

    public void setId(StaffPositionId id){
        this.id = id;
    }

    public Integer getOrderNo(){
        return orderNo;
    }

    public void setOrderNo(Integer orderNo){
        this.orderNo = orderNo;
    }

    public Position getPosition(){
        return position;
    }

    public void setPosition(Position position){
        this.position = position;
    }

    public Staff getStaff(){
        return staff;
    }

    public void setStaff(Staff staff){
        this.staff = staff;
    }

    public Organization getOrganization(){
        return organization;
    }

    public void setOrganization(Organization organization){
        this.organization = organization;
    }
}